QuickTime 4 Reference
|
Previous
|
Chapter Contents
|
Chapter Top
|
Next
|
The
close command
The close command, from the
QuickTime Player dictionary, has two optional parameters: saving and saving in.
Close with saving closes the object and automatically saves with the existing name ("yes"), ignores changes ("no"), or asks whether and where to save the changed object. Close with saving in closes the object and saves it with the supplied "alias".
close: Close a movie or window
close reference
-- the movie or window to close
[
saving
yes/no/ask] -- specifies whether changes should be saved before closing
[
saving in
alias] -- the file in which to save the movie
For example:
tell
application "QuickTime Player"
close movie ¬
"Sample Movie" saving in ¬
"Macintosh HD:Desktop Folder:Sample Movie.mov"
end tell
© 2000 Apple Computer, Inc.
|
Previous
|
Chapter Contents
|
Chapter Top
|
Next
|